import fetch from "@/utils/fetch";
// 公司列表
export function CompanyInfo(data) {
  return fetch({
    url: "/Finance/GetCompanyListByPlateId",
    method: "post",
    data
  });
}
// 板块列表
export function PlateInfo(data) {
  return fetch({
    url: "/Finance/GetAllPlateList",
    method: "post",
    data
  });
}
// 利润及利润分配表
export function FinanceInfo(data) {
  return fetch({
    url: "/Finance/GetProfitDistributionList",
    method: "post",
    data
  });
}
// 利润及利润分配表
export function AssetsInfo(data) {
  return fetch({
    url: "/Finance/GetAssetsIiabilitiesList",
    method: "post",
    data
  });
}
// 资产负债表可视化
export function GetFinanceAssetsIiabilities(data) {
  return fetch({
    url: "/Finance/GetFinanceAssetsIiabilitiesChartApi",
    method: "post",
    data
  })
}
// 利润表可视化
export function GetFinanceProfitDistributionChartApi(data) {
  return fetch({
    url: "/Finance/GetFinanceProfitDistributionChartApi",
    method: "post",
    data
  })
}
// 利润表可视化二期（趋势显示）
export function GetFinanceProfitDistributionForTrendChart(data) {
  return fetch({
    url: "/Finance/GetFinanceProfitDistributionForTrendChart",
    method: "post",
    data
  })
}
// 利润表可视化二期
export function GetFinanceProfitDistributionChartApiForTwo(data) {
  return fetch({
    url: "/Finance/GetFinanceProfitDistributionChartApiForTwo",
    method: "post",
    data
  })
}
// 董事长版本
export function GetFinanceProfitDistributionForTrendChartForBoss(data) {
  return fetch({
    url: "/Finance/GetFinanceProfitDistributionForTrendChartForBoss",
    method: "post",
    data
  })
}
// 董事长版本 --- 板块财务概况
export function GetFinancialSituationForPlate(data) {
  return fetch({
    url: "/Finance/GetFinancialSituationForPlate",
    method: "post",
    data
  })
}
